package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum SuspiciousRideSystemJudgment {
    distance_exceeded(0, "行程超出距离"),
    time_exceeded(1, "行程超过时间"),
    customer_report(2, "乘客举报司机");

    @EnumValue
    private final int code;
    private final String desc;

    SuspiciousRideSystemJudgment(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}